package com.pattern.behavior.responsibilitychain;

public abstract class ResponsibilityProcessor {
    // hold the reference of next responsibility holder
    protected ResponsibilityProcessor processor;

    public void setProcessor(ResponsibilityProcessor processor) {
        this.processor = processor;
    }

    public abstract void processRequest(String request);
}
